package Communication;

/**
 * TODO description
 */
public class Pheromone {
	
	public String name;
	public int value;
	public static int MAXPHEROMONE;
	
	public static void init()
	{
		MAXPHEROMONE = 25;
	}
	
	public Pheromone(String name, int value)
	{
		this.name = name;
		this.value = value;
	}
	
	public String getName()
	{
		return name;
	}
	
	void setValue(int value)
	{
		this.value = value;
	}
	
	public int getValue()
	{
		return value;
	}
	
	public boolean nextStep()
	{
		value--;
		if(value <= 0)
			return false;
		return true;
	}

}